home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
csim
/
source.lha
/
source
/
C++SIM
/
Element.h
< prev
next >
Wrap
C/C++ Source or Header
|
1993-06-14
|
594b
|
51 lines
/*
* Copyright (C) 1993
*
* Department of Computing Science,
* The University,
* Newcastle upon Tyne,
* UK.
*/
/*
* This is used to simply test the operation of the Head and Link classes.
*/
#ifndef ELEMENT_H_
#define ELEMENT_H_
#ifndef COMMON_H_
#include "common.h"
#endif
#ifndef LINK_H_
#include "Link.h"
#endif
class Set;
class Element : public Link
{
public:
Element ();
Element (long);
~Element ();
boolean Belongs (Set*) const;
long GetValue () const;
void SetValue (long);
private:
long value;
};
#include "Element.n"
#endif